<template>
  <el-row>
    <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
      <el-card class="el-card__loader" shadow="hover" style="margin-top: 100px">
        <el-container class="container">
          <el-container class="loader" />
          <el-container class="loader" />
          <el-container class="loader" />
          <el-container class="el-card-loader__text" direction="vertical" style="position: absolute;top: 40%;margin: 10px 50px 50px;">
            <div style="text-align: center;font-family: Metropolis,sans-serif;font-size: 2rem;font-weight: 700 !important;line-height: 1.7;letter-spacing: 4px;margin-bottom: 18px">响应式布局</div>
            <div style="text-align: center;line-height: 1.3;font-family: '微软雅黑 Light',serif;font-size: 20px;margin-bottom: 10px">网站能够兼容多个不同的终端（设备）</div>
            <div style="text-align: center;line-height: 1.3;font-family: '微软雅黑 Light',serif;font-size: 20px">可以在不同尺寸的屏幕和设备上提供良好的用户体验。</div>
          </el-container>
        </el-container>
      </el-card>
    </el-col>
  </el-row>
</template>

<style scoped lang="scss">
.el-card__loader:hover{
  border: 2px solid #08f;
  -webkit-transform: translateY(-8px);
  transform: translateY(-20px);
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
}

.el-card__loader{
  position: absolute;
  height: 500px;
  width: 500px;
}

.loader {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 10;
  width: 160px;
  height: 100px;
  margin-left: -80px;
  margin-top: -50px;
  border-radius: 5px;
  background: #1e3f57;
  animation: dot1_ 3s cubic-bezier(0.55,0.3,0.24,0.99) infinite;
}

.loader:nth-child(2) {
  z-index: 11;
  width: 150px;
  height: 90px;
  margin-top: -45px;
  margin-left: -75px;
  border-radius: 3px;
  background: #3c517d;
  animation-name: dot2_;
}

.loader:nth-child(3) {
  z-index: 12;
  width: 40px;
  height: 20px;
  margin-top: 50px;
  margin-left: -20px;
  border-radius: 0 0 5px 5px;
  background: #6bb2cd;
  animation-name: dot3_;
}

@keyframes dot1_ {
  3%,97% {
    width: 160px;
    height: 100px;
    margin-top: -50px;
    margin-left: -80px;
  }

  30%,36% {
    width: 80px;
    height: 120px;
    margin-top: -60px;
    margin-left: -40px;
  }

  63%,69% {
    width: 40px;
    height: 80px;
    margin-top: -40px;
    margin-left: -20px;
  }
}

@keyframes dot2_ {
  3%,97% {
    height: 90px;
    width: 150px;
    margin-left: -75px;
    margin-top: -45px;
  }

  30%,36% {
    width: 70px;
    height: 96px;
    margin-left: -35px;
    margin-top: -48px;
  }

  63%,69% {
    width: 32px;
    height: 60px;
    margin-left: -16px;
    margin-top: -30px;
  }
}

@keyframes dot3_ {
  3%,97% {
    height: 20px;
    width: 40px;
    margin-left: -20px;
    margin-top: 50px;
  }

  30%,36% {
    width: 8px;
    height: 8px;
    margin-left: -5px;
    margin-top: 49px;
    border-radius: 8px;
  }

  63%,69% {
    width: 16px;
    height: 4px;
    margin-left: -8px;
    margin-top: -37px;
    border-radius: 10px;
  }
}
</style>
<script>
</script>
